import csv

filename = './files/将list写入csv文件.csv'
mode ='w'
names = ['Alice','Bob','charlie']
ages = [25,30,35]
scores=[80,90,95]
with open(filename, mode, newline='') as file:
  writer = csv.writer(file)
  for name, age, score in zip(names, ages, scores):  
    writer.writerow([name, age,score])

file.close()
